<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${title}</title>
<link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]>
	<link rel="stylesheet" href="/static/css/blueprint/ie.css" type="text/css" media="screen, projection">
<![endif]-->
<link rel="stylesheet" href="/${app}/static/app.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/theme/static/simple/simple.css" type="text/css" media="screen, projection">
#if $varExists('feed')
<link rel="alternate" href="${feed.url}" type="application/rss+xml" title="${feed.title}" />
#end if
</head>
<body>
  <div class="container">
    <hr class="space"/>
    <div class="span-23 last" style="text-align:right">
    #if $user
      Welcome, <a href="/manage/" target="_blank">${user.nicename}</a> | <a href="/manage/signout">Sign Out</a>
    #else
      <a href="/manage/signin">Sign In</a> | <a href="/manage/register">Register</a>
    #end if
    </div>
    <h1><a href="/">${site.title}</a></h1>
    <hr/>
    <h2 class="alt">${site.subtitle}</h2>
    <hr/>
    <div class="span-24 last">
      <h3>
      #for $t, $u in $navigations
        <a href="${u}" style="margin-left:0px;margin-right:10px;padding-left:0px">${t}</a>
      #end for
      </h3>
    </div>
    <hr/>
    <hr class="space"/>
    <div class="span-17 colborder">
    #include $app_main
    </div>
    <div class="span-6 last">
      #for $widget in $widgets
        $show_widget($widget)
      #end for
    </div>
    <hr/>
    <h2 class="alt">Copyright&copy;2010, powered by Express Me!</h2>
  </div>
</body>
</html>
